package 幼儿园管理系统;
import java.util.ArrayList;
import java.util.Scanner.*;
import org.apache.commons.cli.*;
<<<<<<< HEAD

//frist
//third
//clone:
=======
//clone
>>>>>>> 3e84158e105b2b733cebf14f05950986eef26537
bool addStudent(Integer stuType) {
	boolean t=true;
	boolean f=false;
	if(stuType=big) {
		big=big-1;
		//System.out.println("成功录入");
		return t;
	}
	else if(stuType=medium) {
		medium=medium-1;
		//System.out.println("成功录入");
		return t;
	}
	else if(stuType=small) {
		small=small-1;
		//System.out.println("成功录入");
		return t;
	}
	else {
		//System.out.println("抱歉！");
		return f;
	}
}

String[] parse(String input) {
	System.out.println("请输入");
	
}

interface ISignUp{
	public void print();
	public boolean addStudent (int stuType);
	public static IParams parse() throws Exception{}
}

interface IParams{
	public int getBig();
	public int getMedium();
	public int getSmall();
	public ArrayList<Integer> getPlanSignUp ();
}

class User{
	public void print() {
		boolean p;
		if(p=true) {
			System.out.println("true");
		}
		else if(p=false) {
			System.out.println("false");
		}
	}
	public boolean addStudent(int stuType) {
		if(stuType==0) {
			return false;
		}
		else {
			stuType=stuType-1;
			return true;
		}
	}
	public static IParams parse() throws Exception{
		SchoolSystem s1=new SchoolSystem(null, null, null);
	}
}
public class SchoolSystem implements ISignUp{
	private Integer big;
	private Integer medium;
	private Integer small;
	SchoolSystem(Integer big, Integer medium, Integer small) {
		this.big=big;
		this.medium=medium;
		this.small=small;
	}
	
	public static void main(String[] args) throws Exception {
		public int getBig() {
			System.out.println("大班名额："+params.getBig());
		}
		public int getMedium() {
			System.out.println("大班名额："+params.getMedium());
		}
		public int getSmall() {
			System.out.println("大班名额："+params.getSmall());
		}
		IParams params = ISignUp.parse();
		//SchoolSystem.parse();
		SchoolSystem sc = new SchoolSystem (params.getBig(), params.getMedium(),params.getSmall());
		ArrayList<Integer> plan = params. getPlanSignUp ();
		for (int i = 0; i < plan.size(); i++) 
		{
            sc. addStudent (plan.get(i));
        }
		sc.print();
	}
}
